import axios from '@/request/http'

import { commonOutDTO, pageCommonInputDTO, pageCommonOutDTO } from '@/api/common.d'
import { GdlGetOutputDTO } from '@/api/gdyj-dto'

export default class gdyjService {
  /**
   * 查询超期预警列表
   */
  static queryCqyjlb(data: pageCommonInputDTO<any>): Promise<commonOutDTO<pageCommonOutDTO<any>>> {
    return axios.post('/api/gdyj/queryCqyjlb', data)
  }
  /**
   * 查询归档率
   */
  static getGdl(data: any): Promise<commonOutDTO<GdlGetOutputDTO>> {
    return axios.post('/api/gdyj/getGdl', data)
  }
}
